messages

Final accumulated message list at the end of this generation (system + user + assistant + tool messages). Hosts use this to resume after a tool-approval pause without re-walking the events themselves: agent.generate(messages = onFinish.messages + approvalResponse).